[]
        
(Showing Draft Content)

C1.Data.FilteredView-1.BindFilterKey

BindFilterKey Method

BindFilterKey(Binding)

Binds the FilterKey property using the specified Binding object.

Declaration
public FilteredView<T> BindFilterKey(Binding binding)
Public Function BindFilterKey(binding As Binding) As FilteredView(Of T)
Parameters
Type Name Description
Binding binding

The Binding object used to bind the FilterKey. Use null to unbind the previously bound FilterKey.

Returns
Type Description
FilteredView<T>

The same FilteredView<T> on which this method was called.

BindFilterKey(object, string)

Binds the FilterKey property to a given path on a given source.

Declaration
public FilteredView<T> BindFilterKey(object source, string path)
Public Function BindFilterKey(source As Object, path As String) As FilteredView(Of T)
Parameters
Type Name Description
object source

The object to bind to. Cannot be null.

string path

The property path to bind to.

Returns
Type Description
FilteredView<T>

The same FilteredView<T> on which this method was called.

Exceptions
Type Condition
NullReferenceException

source is null.